/*
 * Powered By XY
 * Since 2020
 */

package com.xy.biz.fd.domain.req.document;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

import com.xy.lang.validation.annotation.AlertMessage;

/**
 *
 *
 * @author wwj
 * @date 2021-1-16
 */
@NoArgsConstructor
@AllArgsConstructor
@Builder
@Data
public class ListDocumentRequest {

	@NotNull(message = "pageIndexRequired")
	@AlertMessage(code = "pageIndexRequired", msg = "页索引不能为空")
	private Integer pageIndex;

	@NotNull(message = "pageSizeRequired")
	@AlertMessage(code = "pageSizeRequired", msg = "页大小不能为空")
	private Integer pageSize;

	/**
	 * 文档名称
	 */
	private String documentName;
	/**
	 * 文档类型：0-未定义，1-文档，2-表格，3-演示稿，4-图片，5-音频，6-视频
	 */
	private Integer documentType;
	/**
	 * 文档属性
	 */
	private String type;
	/**
	 * 文件夹Id
	 */
	private Long folderId;
}
